package com.carepad.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.carepad.dao.RecordItemsMapper;
import com.carepad.entity.RecordItems;
import com.carepad.entity.mapper.RecordItemViewMapper;
import com.carepad.service.RecordItemsInputService;

@Service("recordItemsInputService")
public class RecordItemsInputServiceImpl extends AbstractListService implements
		RecordItemsInputService {

	@Autowired
	private RecordItemsMapper recordItemsInputMapper;

	@Override
	public List<RecordItems> findRecordItemsInputList() {
		return recordItemsInputMapper.findRecordItemsInputList();
	}

	@Override
	public int delete(Integer id) {

		return 0;
	}

	@Override
	public int save(RecordItems entity) {

		return 0;
	}

	@Override
	public int update(RecordItems entity) {

		return 0;
	}

	@Override
	public int delete(RecordItems entity) {

		return 0;
	}

	@Override
	public int save(RecordItems entity, Integer systemUserID) {

		return 0;
	}

	@Override
	public int update(RecordItems entity, Integer systemUserID) {

		return 0;
	}

	@Override
	public List<RecordItems> findAll() {

		return null;
	}

	@Override
	public List<RecordItems> findAllNotDisabled() {

		return null;
	}

	@Override
	public List<RecordItems> findAllDisabled() {

		return null;
	}

	@Override
	public RecordItems findById(Integer id) {

		return null;
	}

	@Override
	public List<RecordItems> findByDisplayGroup(Integer uid) {
		return recordItemsInputMapper.findByDisplayGroup(uid);
	}


	@Override
	public List<RecordItemViewMapper> findRecordItemsInputListWithAnswers(
			String patientId, String date) {
		return recordItemsInputMapper.findRecordItemsWithAnswers(patientId,date);
	}

}
